Skip to content

Conversation

dgarciasarai
Copy link

Description

Page Audit allows to make a quick check of that compliance and get warnings and tips to improve each one of the categories. Once the API Key is enabled, the Page Audit panel will show the detail of the issues in two sections: Accessibility and SEO.

Within this pull request

Backend part already reviewed 😉

  • Include layoutReportsIssuesURL in each canonicalURL (backend stuff)
  • Create LayoutReportsIssuesList component to show the sections and issues of the canonicalURL provided
  • Create store to avoid prop-drilling information (it will be a detail view for each issue)
  • Style adjustments (sidebar body padding, vertically center basic information, etc)
  • Add new message keys with its proper buildLang
  • Fix and add new frontend tests

Screenshot

Screenshot 2021-04-27 at 18 15 23

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:sf - 1 out of 1 jobs passed in 4 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 57e7fbc138485535fb62a9c888f6b158b3452e82

Sender Branch:

Branch Name: LPS-119066.issues-list
Branch GIT ID: 4fe098047528c551601200211d6430236aeea64b

1 out of 1jobs PASSED
1 Successful Jobs:
For more details click here.

@liferay-continuous-integration
Copy link
Collaborator

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 9 out of 9 jobs passed

✔️ ci:test:relevant - 24 out of 25 jobs passed in 2 hours 15 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 57e7fbc138485535fb62a9c888f6b158b3452e82

Upstream Comparison:

Branch GIT ID: 57e7fbc138485535fb62a9c888f6b158b3452e82
Jenkins Build URL: Acceptance Upstream DXP (master) #1808

ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 23 out of 25 jobs PASSED
23 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 57e7fbc:
  1. test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8/0
    Job Results:

    1192 Tests Passed.
    6 Tests Failed.

    1. AXIS_VARIABLE=1,label_exp=!master #460917
      1. com.liferay.layout.page.template.internal.exportimport.data.handler.test.LayoutPageTemplateEntryStagedModelDataHandlerTest.testImportLayoutPageTemplateEntryByDefaultUser
        java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.commerce.product.internal.model.listener.CompanyModelListener, message=com.liferay.portal.kernel.exception.NoSuchGroupException: No Group exists with the primary key 0
        	at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
        	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
        	at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:540)
        	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:498)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
        	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
        	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:456)
        	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
        	at org.apache.logging.log4j...
    2. AXIS_VARIABLE=2,label_exp=!master #460917
      1. com.liferay.layout.seo.internal.instance.lifecycle.test.LayoutSEOEntryDDMStructureInstanceLifecycleListenerTest.testAddCompany
        java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.commerce.product.internal.model.listener.CompanyModelListener, message=com.liferay.portal.kernel.exception.NoSuchGroupException: No Group exists with the primary key 0
        	at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
        	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
        	at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:540)
        	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:498)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
        	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
        	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:456)
        	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
        	at org.apache.logging.log4j...
      2. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError: 
        com.liferay.portal.kernel.exception.NoSuchGroupException: No Group exists with the primary key 0
        com.liferay.portal.kernel.exception.NoSuchGroupException: No Group exists with the primary key 0
        	at com.liferay.portal.service.persistence.impl.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:13553)
        	at com.liferay.portal.service.persistence.impl.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:13569)
        	at com.liferay.portal.service.impl.GroupLocalServiceImpl.deleteGroup(GroupLocalServiceImpl.java:1122)
        	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
        	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
        	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
        	at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
        	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
        	at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
        	at com.sun.proxy.$Proxy63.deleteGroup(Unknown Source)
        	at com.liferay.commerce.product.service.impl.CommerceCatalogLocalServiceImpl.forceDeleteCommerceCatalog(CommerceCatalogLocalServiceImpl.java:232)
        	at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
        	at com.liferay.portal.spring.trans...
    3. AXIS_VARIABLE=3,label_exp=!master #460917
      1. com.liferay.layout.service.test.LayoutSetPrototypeLocalServiceTest.testAddLayoutSetPrototypeDefaultLayout
        java.lang.AssertionError: {level=ERROR, loggerName=com.liferay.commerce.product.internal.model.listener.CompanyModelListener, message=com.liferay.portal.kernel.exception.NoSuchGroupException: No Group exists with the primary key 0
        	at com.liferay.portal.test.rule.LogAssertionTestRule$LogAppender.append(LogAssertionTestRule.java:330)
        	at org.apache.logging.log4j.core.config.AppenderControl.tryCallAppender(AppenderControl.java:156)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppender0(AppenderControl.java:129)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppenderPreventRecursion(AppenderControl.java:120)
        	at org.apache.logging.log4j.core.config.AppenderControl.callAppender(AppenderControl.java:84)
        	at org.apache.logging.log4j.core.config.LoggerConfig.callAppenders(LoggerConfig.java:540)
        	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:498)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
        	at org.apache.logging.log4j.core.config.LoggerConfig.logParent(LoggerConfig.java:531)
        	at org.apache.logging.log4j.core.config.LoggerConfig.processLogEvent(LoggerConfig.java:500)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:481)
        	at org.apache.logging.log4j.core.config.LoggerConfig.log(LoggerConfig.java:456)
        	at org.apache.logging.log4j.core.config.AwaitCompletionReliabilityStrategy.log(AwaitCompletionReliabilityStrategy.java:82)
        	at org.apache.logging.log4j...
      2. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog
        junit.framework.AssertionFailedError: 
        Unable to connect to a valid mail server. Please make sure one is properly configured: Couldn't connect to host, port: localhost, 25; timeout -1
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
        	at java.nio.file.Files.walkFileTree(Files.java:2670)
        	at java.nio.file.Files.walkFileTree(Files.java:2742)
        	at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)
        
Test bundle downloads:

@liferay-continuous-integration
Copy link
Collaborator

@dgarciasarai
Copy link
Author

Hey @liferay-frontend, can you review these changes and give me feedback? Thanks! 😄

* details.
*/

window.Liferay.Util.sub = function (string = '', data) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we have similar logic now in:

I'm making an issue to remove this duplication by baking a reasonable substitute into our default mock environment. Will come back and update the link here once I've done that.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That config is used to substitute the x in the message keys to check the full text in the tests. It will be awesome to not be required to add it each module. I saw that we are the only team using it in our tests 🤔 layout-reports-web, segments-experiment-web and analytics-reports-web.

}

const dataCopy = [...data];
const max = REGEX_SUB.exec(string).length;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mini-nit: maxmaximum (per guidelines, abbreviations and all that)

Non-blocking feedback though, especially because this file might go away based on liferay/liferay-frontend-projects#519

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the nit. Hopefully, this file will be removed soon and provide it by default in our tests 🍀

const max = REGEX_SUB.exec(string).length;
let replacedValues = 0;

const replacestring = string.replace
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another non-blocking mini-nit: replacestringreplaceString

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here...Hopefully, this file will be removed soon and provide it by default in our tests 🍀

Comment on lines +21 to +25
"jest": {
"setupFiles": [
"<rootDir>/jest-setup.config.js"
]
},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Outside the scope of this PR, but this is another thing that is more or less repeated verbatim in about 10 places in liferay-portal now. Seems like the kind of thing we might be able to abstract away... Just throwing that out there in case anybody reading this feels like writing up a ticket for it — I'm not totally convinced it's a good idea, so I'm not going to right now).

Comment on lines +57 to +59
.dropdown-menu__languages {
max-height: 295px;
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just referencing prior discussion about this pattern from your other pull, in case anybody wants to look.


useEffect(() => {
if (loading && !error) {
const x = Date.now();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

come-on

This should be initial or something descriptive, not x.

But seeing as you have a green CI run, I'd just loop back and do it next time you touch this file, if you do.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll change it and push force 👍

const interval = setInterval(() => {
const time = (Date.now() - x) / 1000;
const progress =
-200 * (1 / (1 + Math.pow(Math.E, time / 4)) - 0.5);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't even know there was a Math.E constant. I'm not going to pretend to understand this, so...

proceed

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a calculation provided by @4lejandrito to calculate from 0 to ~100 (never gets to 100) and this is used to update the progress bar value because when we call Google PageSpeed endpoint we don't have any information about the progress so... Sorry? 😬

Copy link

@4lejandrito 4lejandrito Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a sigmoid function:

  • Scaled to go from [0, 100). It goes up smoothly and never gets to 100.
  • It's adjusted so that it gets close to 100 in around 15 seconds (the time it normally takes to complete the request to google pagespeed).

We need to agree on a better timing and I will send that in a follow up.

Copy link

@4lejandrito 4lejandrito Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will also make the parameters (15 seconds and 100) more explicit by using variables.

Comment on lines 35 to 46
export function _getFormDataRequest(body, prefix, formData = new FormData()) {
Object.entries(body).forEach(([key, value]) => {
formData.append(`${prefix}${key}`, value);
});

return formData;
}

/**
* Wrapper to `fetch` function throwing an error when `error` is present in the response
*/
function _fetchWithError(url, options = {}) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that:

  • We don't need to export _getFormDataRequest (it is only used internally)
  • We should never export a function with a leading underscore anyway
  • We don't need to mark these functions as "private" by using an underscore

ie. I think we can delete the underscores, and get rid of the export

Again, because you have a clean CI run, feel free to forward if you want and just fold these changes in to the next time you touch this file.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok! Sure! I'll update it and push force 👍

Copy link

@wincent wincent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No deal-breakers in here. If you want to forward and make the most of that green CI run, feel free to do so @dgarciasarai, and roll whatever follow-ups you have into your next change.

@liferay-continuous-integration
Copy link
Collaborator

@dgarciasarai
Copy link
Author

dgarciasarai commented Apr 29, 2021

Should we restart the CI? 🤔

@4lejandrito
Copy link

ci:forward

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

The pull request will automatically be forwarded to the user brianchandotcom if the following test suites pass:

  •     ci:test:relevant
  •     ci:test:sf
  •     ci:test:stable

@liferay-continuous-integration
Copy link
Collaborator

Skipping previously passed test suites:
ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

✔️ ci:test:stable - 9 out of 9 jobs passed

❌ ci:test:relevant - 22 out of 25 jobs passed in 2 hours 22 minutes

Click here for more details.

This pull is eligible for reevaluation. When this upstream build has completed, using the following CI command will compare this pull request result against a more recent upstream result:

ci:reevaluate:1177401_7632

Base Branch:

Branch Name: master
Branch GIT ID: 318146d8babd408ff5f16b93b0e04428cbf3241f

Upstream Comparison:

Branch GIT ID: f8aa3697ce0df564a38c8fae2516e86001402ed2
Jenkins Build URL: Acceptance Upstream DXP (master) #1816

ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 22 out of 25 jobs PASSED
22 Successful Jobs:
For more details click here.

Failures unique to this pull:

  1. test-portal-acceptance-pullrequest-batch(master)/lpkg-base-jdk8/0
    Job Results:

    2 Tests Passed.
    3 Tests Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #356130
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanOSGiLog
        junit.framework.AssertionFailedError: 
        Portal log assert failure, OSGi log found: /opt/dev/projects/github/liferay-portal/bundles/osgi/state/1619726931180.log:
        !SESSION 2021-04-29 20:09:12.831 -----------------------------------------------
        eclipse.buildId=unknown
        java.version=1.8.0_121
        java.vendor=Oracle Corporation
        BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
        

        !ENTRY com.liferay.portal.vulcan.impl 4 0 2021-04-29 20:09:12.831
        !MESSAGE FrameworkEvent ERROR
        !STACK 0
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.vulcan.impl [630]
        Unresolved requirement: Import-Package: com.liferay.object.graphql; version="[1.0.0,2.0.0)"

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
        
        
        at com.liferay.portal.log...</code></pre></div></li><li><div><a href="https://test-1-12.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/356130//testReport/com.liferay.portal.log.assertor/PortalLogAssertorTest/testScanXMLLog">com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog</a><pre><code>junit.framework.AssertionFailedError: 
        

        FrameworkEvent ERROR
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.vulcan.impl [630]
        Unresolved requirement: Import-Package: com.liferay.object.graphql; version="[1.0.0,2.0.0)"

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
        
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
        at java.nio.file.Files.walkFileTree(Files.java:2670)
        at java.nio.file.Files.walkFileTree(Files.java:2742)
        at com.liferay.portal.log.assertor.Po...</code></pre></div></li><li><div><a href="https://test-1-12.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/356130//testReport/com.liferay.poshi.runner/PoshiRunner/test_LocalFile_PortalSmoke_Smoke_">LocalFile.PortalSmoke#Smoke</a> - <a href="https://testray.liferay.com/reports/production/logs/2021-04/test-1-17/test-portal-acceptance-pullrequest(master)/7632/lpkg-base-jdk8/0/0/LocalFile.PortalSmoke_Smoke/index.html.gz">Poshi Report</a> - <a href="https://testray.liferay.com/reports/production/logs/2021-04/test-1-17/test-portal-acceptance-pullrequest(master)/7632/lpkg-base-jdk8/0/0/LocalFile.PortalSmoke_Smoke/summary.html.gz">Poshi Summary</a> - <a href="https://testray.liferay.com/reports/production/logs/2021-04/test-1-17/test-portal-acceptance-pullrequest(master)/7632/lpkg-base-jdk8/0/0/jenkins-console.txt.gz">Console Output</a></div></li></ol></div></li></ol></div></li></ol><hr/><details><summary><strong>Failures in common with <a href="https://test-1-1.liferay.com/job/test-portal-acceptance-upstream-dxp(master)">acceptance upstream results</a> at f8aa3697ce0df564a38c8fae2516e86001402ed2:</strong></summary><ol><li><div><h5><a href="https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/383987/">test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8/0</a></h5><div><h6>Job Results:</h6><p>1197 Tests Passed.<br/>1 Test Failed.</p></div><ol><li><div><a href="https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=3,label_exp=!master/383987//consoleText">AXIS_VARIABLE=3,label_exp=!master #383987</a><ol><li><div><a href="https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=3,label_exp=!master/383987//testReport/com.liferay.portal.log.assertor/PortalLogAssertorTest/testScanXMLLog">com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog</a><pre><code>junit.framework.AssertionFailedError: 
        

        Unable to connect to a valid mail server. Please make sure one is properly configured: Couldn't connect to host, port: localhost, 25; timeout -1
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
        at java.nio.file.Files.walkFileTree(Files.java:2670)
        at java.nio.file.Files.walkFileTree(Files.java:2742)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)

Test bundle downloads:

@liferay-continuous-integration
Copy link
Collaborator

@4lejandrito
Copy link

ci:reevaluate:1177401_7632

@liferay-continuous-integration
Copy link
Collaborator

CI is reevaluating the build with build ID: 1177401_7632 against the latest valid upstream results.

@liferay-continuous-integration
Copy link
Collaborator

Previous ci:test:relevantbuild was successfully reevaluated against more recent upstream results.

✔️ ci:test:stable - 9 out of 9 jobs passed

✔️ ci:test:relevant - 23 out of 25 jobs passed in 2 hours 24 minutes

Click here for more details.

Base Branch:

Branch Name: master
Branch GIT ID: 318146d8babd408ff5f16b93b0e04428cbf3241f

Upstream Comparison:

Branch GIT ID: 318146d8babd408ff5f16b93b0e04428cbf3241f
Jenkins Build URL: Acceptance Upstream DXP (master) #1818

ci:test:stable - 9 out of 9 jobs PASSED
9 Successful Jobs:
ci:test:relevant - 22 out of 25 jobs PASSED
22 Successful Jobs:
For more details click here.

This pull contains no unique failures.


Failures in common with acceptance upstream results at 318146d:
  1. test-portal-acceptance-pullrequest-batch(master)/lpkg-base-jdk8/0
    Job Results:

    2 Tests Passed.
    3 Tests Failed.

    1. AXIS_VARIABLE=0,label_exp=!master #356130
      1. com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanOSGiLog
        junit.framework.AssertionFailedError: 
        Portal log assert failure, OSGi log found: /opt/dev/projects/github/liferay-portal/bundles/osgi/state/1619726931180.log:
        !SESSION 2021-04-29 20:09:12.831 -----------------------------------------------
        eclipse.buildId=unknown
        java.version=1.8.0_121
        java.vendor=Oracle Corporation
        BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
        

        !ENTRY com.liferay.portal.vulcan.impl 4 0 2021-04-29 20:09:12.831
        !MESSAGE FrameworkEvent ERROR
        !STACK 0
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.vulcan.impl [630]
        Unresolved requirement: Import-Package: com.liferay.object.graphql; version="[1.0.0,2.0.0)"

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager\$EventThread.run(EventManager.java:340)
        
        
        at com.liferay.portal.log...</code></pre></div></li><li><div><a href="https://test-1-12.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/356130//testReport/com.liferay.portal.log.assertor/PortalLogAssertorTest/testScanXMLLog">com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog</a><pre><code>junit.framework.AssertionFailedError: 
        

        FrameworkEvent ERROR
        org.osgi.framework.BundleException: Could not resolve module: com.liferay.portal.vulcan.impl [630]
        Unresolved requirement: Import-Package: com.liferay.object.graphql; version="[1.0.0,2.0.0)"

        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        at org.eclipse.osgi.container.ModuleContainer\$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.EventManager\$EventThread.run(EventManager.java:340)
        
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest\$1.visitFile(PortalLogAssertorTest.java:98)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest\$1.visitFile(PortalLogAssertorTest.java:88)
        at java.nio.file.Files.walkFileTree(Files.java:2670)
        at java.nio.file.Files.walkFileTree(Files.java:2742)
        at com.liferay.portal.log.assertor.Po...</code></pre></div></li><li><div><a href="https://test-1-12.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/356130//testReport/com.liferay.poshi.runner/PoshiRunner/test_LocalFile_PortalSmoke_Smoke_">LocalFile.PortalSmoke#Smoke</a> - <a href="https://testray.liferay.com/reports/production/logs/2021-04/test-1-17/test-portal-acceptance-pullrequest(master)/7632/lpkg-base-jdk8/0/0/LocalFile.PortalSmoke_Smoke/index.html.gz">Poshi Report</a> - <a href="https://testray.liferay.com/reports/production/logs/2021-04/test-1-17/test-portal-acceptance-pullrequest(master)/7632/lpkg-base-jdk8/0/0/LocalFile.PortalSmoke_Smoke/summary.html.gz">Poshi Summary</a> - <a href="https://testray.liferay.com/reports/production/logs/2021-04/test-1-17/test-portal-acceptance-pullrequest(master)/7632/lpkg-base-jdk8/0/0/jenkins-console.txt.gz">Console Output</a></div></li></ol></div></li></ol></div></li><li><div><h5><a href="https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/383987/">test-portal-acceptance-pullrequest-batch(master)/modules-integration-mysql57-jdk8/0</a></h5><div><h6>Job Results:</h6><p>1197 Tests Passed.<br/>1 Test Failed.</p></div><ol><li><div><a href="https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=3,label_exp=!master/383987//consoleText">AXIS_VARIABLE=3,label_exp=!master #383987</a><ol><li><div><a href="https://test-1-9.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=3,label_exp=!master/383987//testReport/com.liferay.portal.log.assertor/PortalLogAssertorTest/testScanXMLLog">com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog</a><pre><code>junit.framework.AssertionFailedError: 
        

        Unable to connect to a valid mail server. Please make sure one is properly configured: Couldn't connect to host, port: localhost, 25; timeout -1
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.scanXMLLogFile(PortalLogAssertorTest.java:171)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:98)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest$1.visitFile(PortalLogAssertorTest.java:88)
        at java.nio.file.Files.walkFileTree(Files.java:2670)
        at java.nio.file.Files.walkFileTree(Files.java:2742)
        at com.liferay.portal.log.assertor.PortalLogAssertorTest.testScanXMLLog(PortalLogAssertorTest.java:86)

@4lejandrito
Copy link

ci:forward

@liferay-continuous-integration
Copy link
Collaborator

CI is automatically triggering the following test suites:

  •     ci:test:relevant
  •     ci:test:sf

The pull request will automatically be forwarded to the user brianchandotcom if the following test suites pass:

  •     ci:test:relevant
  •     ci:test:sf
  •     ci:test:stable

@liferay-continuous-integration
Copy link
Collaborator

Skipping previously passed test suites:
ci:test:relevant
ci:test:sf

@liferay-continuous-integration
Copy link
Collaborator

All required test suite(s) passed.
Forwarding pull request to brianchandotcom.
Console

@liferay-continuous-integration
Copy link
Collaborator

Pull request has been successfully forwarded to brianchandotcom#101288
Console

@wincent
Copy link

wincent commented Apr 30, 2021

Previous ci:test:relevantbuild was successfully reevaluated against more recent upstream results.

✔️ ci:test:stable - 9 out of 9 jobs passed

✔️ ci:test:relevant - 23 out of 25 jobs passed in 2 hours 24 minutes

Amazing. I don't think I've ever seen this work before...

emotional-gandalf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants